<?php foreach ($this->friends as $friend):?>
	<?php $model_user = new Model_User($friend->user_id)?>
	 
	<?php echo $model_user->login ?>  
	<a
	href="<?php
    echo $this->url(array('controller' => 'friend', 'action' => 'add', 'request'=>$friend->id),"default")?>"><?php
    echo $this->translate("Add to friends");
    ?></a>
<?php endforeach;?>